Click or drag to resize

ResourceRequestHeader Property

Gets or sets the custom request header.

Namespace:  Independentsoft.Webdav
Assembly:  Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
public string[] RequestHeader { get; set; }

Property Value

Type: String
Remarks
Header name and value are comma separated.
Examples
The following example demonstrates how to use this property:
string[] myHeader = string[1];

//Add the Accept-Language header (for Danish) in the request.
myHeader[0] = "Accept-Language:da";

resource.RequestHeader = myHeader;
See Also